package com.oracle.service;

import com.oracle.dao.BookMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookService {
    @Autowired
    private BookMapper bookMapper;
    public String getBookName(Integer id) {
       return bookMapper.selectById(id);
    }
}
